<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>首页</title>
</head>
<body>
{{if .user.Nickname}}
<a href="/Logout">退出登录</a>
{{else}}<a href="/Login">登录</a>
<a href="/Register">注册</a>
{{end}}
</body>
</html>